Filename | (eval 325)[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Sub/Quote.pm:3] |
Statements | Executed 276 statements in 1.42ms |
Eval Invoked At | /Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Sub/Quote.pm line 3 |
Sibling evals | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113 |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
64 | 2 | 2 | 238µs | 239µs | _assert__format_validations | JSON::Schema::Modern::
1 | 1 | 1 | 27µs | 61µs | BEGIN@7.182 | JSON::Schema::Modern::
1 | 1 | 1 | 8µs | 20µs | BEGIN@24.184 | Method::Generate::Accessor::_Generated::
1 | 1 | 1 | 7µs | 7µs | BEGIN@12.183 | Method::Generate::Accessor::_Generated::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | { | ||||
2 | 2 | 5µs | my $_UNQUOTED = ${$_[1]->{"\$_UNQUOTED"}}; | ||
3 | 1 | 1µs | my $default_for__5fformat_5fvalidations = ${$_[1]->{"\$default_for__5fformat_5fvalidations"}}; | ||
4 | 1 | 0s | my $isa_check_for__5fformat_5fvalidations = ${$_[1]->{"\$isa_check_for__5fformat_5fvalidations"}}; | ||
5 | 1 | 1µs | my $_QUOTED = ${$_[1]->{"\$_QUOTED"}}; | ||
6 | package JSON::Schema::Modern; | ||||
7 | 2 | 65µs | 2 | 95µs | # spent 61µs (27+34) within JSON::Schema::Modern::BEGIN@7.182 which was called:
# once (27µs+34µs) by Sub::Quote::_clean_eval at line 7 # spent 61µs making 1 call to JSON::Schema::Modern::BEGIN@7.182
# spent 34µs making 1 call to warnings::unimport |
8 | # spent 239µs (238+1000ns) within JSON::Schema::Modern::_assert__format_validations which was called 64 times, avg 4µs/call:
# 63 times (225µs+0s) by JSON::Schema::Modern::_get_format_validation at line 17 of (eval 323)[Sub/Quote.pm:3], avg 4µs/call
# once (13µs+1µs) by JSON::Schema::Modern::add_format_validation at line 17 of (eval 324)[Sub/Quote.pm:3] | ||||
9 | ($_QUOTED,$_UNQUOTED) if 0; | ||||
10 | # BEGIN quote_sub PRELUDE | ||||
11 | package Method::Generate::Accessor::_Generated; | ||||
12 | # spent 7µs within Method::Generate::Accessor::_Generated::BEGIN@12.183 which was called:
# once (7µs+0s) by Sub::Quote::_clean_eval at line 17 | ||||
13 | 1 | 1µs | $^H = 2018; | ||
14 | 1 | 1µs | ${^WARNING_BITS} = "UUUUUUUUUUUUUUUUUUUU"; | ||
15 | 1 | 10µs | %^H = ( | ||
16 | ); | ||||
17 | 1 | 43µs | 1 | 7µs | } # spent 7µs making 1 call to Method::Generate::Accessor::_Generated::BEGIN@12.183 |
18 | # END quote_sub PRELUDE | ||||
19 | 64 | 179µs | do { | ||
20 | my $val = exists $_[0]->{"_format_validations"} ? | ||||
21 | $_[0]->{"_format_validations"} | ||||
22 | 64 | 65µs | : do { | ||
23 | 1 | 2µs | 1 | 1µs | my $value = $default_for__5fformat_5fvalidations->($_[0]); # spent 1µs making 1 call to JSON::Schema::Modern::__ANON__[JSON/Schema/Modern.pm:121] |
24 | 6 | 996µs | 2 | 32µs | # spent 20µs (8+12) within Method::Generate::Accessor::_Generated::BEGIN@24.184 which was called:
# once (8µs+12µs) by Sub::Quote::_clean_eval at line 24 # spent 20µs making 1 call to Method::Generate::Accessor::_Generated::BEGIN@24.184
# spent 12µs making 1 call to warnings::unimport |
25 | 1 | 1µs | $_[0]->{"_format_validations"} = $value | ||
26 | } | ||||
27 | ; | ||||
28 | 64 | 27µs | exists $_[0]->{"_format_validations"} | ||
29 | or Carp::croak(q{Attempted to access '}."_format_validations".q{' but it is not set}); | ||||
30 | 64 | 14µs | $val; | ||
31 | } | ||||
32 | } | ||||
33 | 1 | 2µs | $$_UNQUOTED = \&_assert__format_validations; | ||
34 | } | ||||
35 | 1 | 8µs | 1; | ||
36 | |||||
37 | ; |